﻿using System;

namespace EaseDapper
{
    public static class CurreyHelper
    {
        public static Func<T1, Func<T2, Action<T3>>> Currey<T1, T2, T3>(this Action<T1, T2, T3> action) => x => y => z => action(x, y, z);
        public static Func<T1, Func<T2, T3>> Currey<T1, T2, T3>(this Func<T1, T2, T3> action) => x => y => action(x, y);
    }
}
